interface Props {
  id: string
  children: string[]
}

type ReadonlyProps = Readonly<Props>

let p3: ReadonlyProps = {
  id: '1',
  children: ['1', '2']
}

// p3.id = '2'